{if $pg!="home" && $pg!="404"}
{if $action == "list"}
<a id="filter" href="#"><img style="margin-top: 10px; margin-right: 10px;" src="css/img/search.png"></a>
<a id="add" href="./?pg={$pg}&action=add"><img style="margin-top: 10px; margin-right: 10px;" src="css/img/add.png"></a>
{/if}
{/if}
<a href="./?pg=login&logout"><img style="margin-top: 10px;" src="css/img/logout.png"></a>